﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ep_pioneer_content.aspx.cs"
    Inherits="ePioneer_ep_pioneer_content" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/table.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <input id="Button1" type="button" value="添加" onclick="document.location='ep_pioneer_content_edit.aspx'"/></div>
    <div>
        <table border="0" align="left" cellpadding="3" cellspacing="0" style="width:100%;
            border: 1px solid #337ABB;">
            <tr style="background: #337ABB;">
                <td>
                    标题
                </td>
                <td>
                    简介
                </td>
                <td>
                    所属类别
                </td>
                <td>
                    操作
                </td>
            </tr>
            <asp:Repeater ID="rptep_pioneer_c" runat="server">
                <ItemTemplate>
                    <tr>
                        <td valign="top">
                            <%#Eval("title")%>&nbsp;
                        </td>
                        <td valign="top">
                            <%#Eval("content").ToString().Length > 20 ? Eval("content").ToString().Substring(0, 20)+"..." : Eval("content")%>&nbsp;
                        </td>
                        <td>
                            <%#GetEp_pioneer_type(Eval("typeid"))%>&nbsp;
                        </td>
                        <td>
                           <a href='ep_pioneer_content_edit.aspx?id=<%# Eval("id") %>'> 修改</a>&nbsp;&nbsp;<a href='ep_pioneer_knowledges_edit.aspx?id=0'>添加知道</a>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    </form>
</body>
</html>
